package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.Shipu;
import com.jsh.erp.datasource.entities.ShipuExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShipuMapper {
    long countByExample(ShipuExample example);

    int deleteByExample(ShipuExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Shipu record);

    int insertSelective(Shipu record);

    List<Shipu> selectByExample(ShipuExample example);

    Shipu selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Shipu record, @Param("example") ShipuExample example);

    int updateByExample(@Param("record") Shipu record, @Param("example") ShipuExample example);

    int updateByPrimaryKeySelective(Shipu record);

    int updateByPrimaryKey(Shipu record);
}